﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using KelonProud.Administration.Domain.Authorization;

namespace KelonProud.Administration.Dtos
{
    [AutoMap(typeof(Attachment))]
    public class AttachmentDto:EntityDto
    {
        [DisplayName("文件临时名称")]
        public string FileName { get; set; }

        [DisplayName("文件名称")]
        public string DisplayName { get; set; }

        [DisplayName("文件类型")]
        public string ContentType { get; set; }

        [DisplayName("文件大小")]
        public string Size { get; set; }
        public virtual int? SizeKb { get; set; }
        //文件路径
        public virtual string FileFolderPath { get; set; }

        [DisplayName("上传时间")]
        public DateTime UploadDateTime { get; set; }

        [DisplayName("后缀名")]
        public string FileExtension { get; set; }

        [DisplayName("上传用户")]
        public string UploadUser { get; set; }

        public bool IsImg { get; set; }

        public bool IsDoc { get; set; }

        public string CreatorUserFullName { get; set; }
    }
}
